package ${basePackage}.controller;

import ${basePackage}.common.base.BaseEntityController;
import ${basePackage}.entity.${name};
import ${basePackage}.service.${name}Service;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* ${description}控制器
*
* @author ${author}
* @date ${date}
*/
@Api(tags = "${description}")
@RestController
@RequestMapping("/${name?lower_case}")
public class ${name}Controller extends BaseEntityController<${name}, ${name}Service> {

    @Autowired
    public ${name}Controller(${name}Service service) {
        super(service);
    }

}